<?php #//AJAX PHP PENNY AUCTION v.1.1

#///////////////////////////////////////////////////////////
#//  COPYRIGHT 2009 Aaron Helmlinger ALL RIGHTS RESERVED  //
#///////////////////////////////////////////////////////////

?>

<HTML>

<HEAD>
     <link rel='stylesheet' type='text/css' href='admin/style.css' />
<link href="admin/css/main.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="js/global_utilities.js" language="Javascript"></script>
                  


<script type="text/javascript" src="./js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
 

   <script type="text/javascript">


function SubmitSellForm(){
    document.sell.submit();
}
function ResetSellForm(){
    document.sell.reset();
}
function SubmitPrevForm(){
    document.preview.submit();
}
function ResetPrevForm(){
    document.preview.reset();
}


tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	language: "en",
	plugins : "table",
	theme_advanced_buttons1 : "backcolor, forecolor, bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,",
	theme_advanced_buttons2 : "fontselect, fontsizeselect",
	theme_advanced_buttons3 : "tablecontrols",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	force_br_newlines : "false",
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],object[width|height],param[name|value],embed[src|type|allowscriptaccess|allowfullscreen|width|height]"
}); 


</script>


</HEAD>
<BODY>

<BR>
<table width="95%" border=0 cellpadding=4 cellspacing=1 align=center>
<TR>
<TD>
<FIELDSET><LEGEND>

<span class=PAGE_HEADER >&nbsp;<?=$MSG_AJAX_ADMIN_SELL_TITLE;?>&nbsp;</span>
</LEGEND>

<DIV class=EDITDATA3>

            <?
           /* if( $feesfree=='y') {
                print "<P class=errfont>".$SETTINGS['freecatstext']."</P>";
            } */
        ?>

  
            <form name="sell" action="sell.php" method="post" enctype="multipart/form-data">
               
                <input type=HIDDEN name="action" value="first" />
               
               
               
               
                <table width="100%" border="0" cellpadding="4" cellspacing="0">
                    <?if (!empty($TPL_error_value)) {?>
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan">&nbsp;</td>
                        <td class=errfont>
                            <?="$TPL_error_value"?>
                        </td>
                    </tr>
                    <?}?>

                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_287;?>
                            </b> </td>
                        <td class="rightpan">
                            <?(!empty($TPL_categories_list))? print stripslashes($TPL_categories_list) : print $sessionVars[categoriesList]?>
                            <br>
                            [<a href=select_category.php?change=yes><?=$MSG_5113?></a>]<BR><BR></td>
                    </tr>




                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_017;?>
                            </b> </td>
                        <td class="rightpan">
                            <input class=EDITDATA2 type=text name=title size=40 maxlength=255 value="<?=stripslashes($titleH); ?>" />
                            <BR><BR>
                        </td>
                    </tr>





                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_018;?>
                            </b> </td>
                        <td class="rightpan">
                          <textarea name="description" cols="100" rows="50"><?php echo $description;?></textarea>
                          <BR><BR>
                        </td>
                    </tr>












                    <?
                    if(!empty($TPL_pict_URL_value)) {
                      ?>
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                                                   </b> </td>
                        <td class="rightpan">
                            <input type=HIDDEN name=upd_pict_url value="<?=$sessionVars["SELL_pict_url"]; ?>" />
                            <? if ($TPL_pict_URL_value != "No picture available" ) { print $TPL_pict_URL_value; } ?> <BR><BR>
                            <font color=red >Note: The best size for pictures is 300 wide x 200 tall pixels.
                        </td>
                    </tr>
                              
                     
                    
                    
                    
                    <?
                    }
                    ?>
                    
                    
                    
           




                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_256; ?>
                            </b> </td>
                        <td class="rightpan">
                            <input type=RADIO name="imgtype" value="1" <?=$TPL_imgtype2_SELECTED; ?> />
                            <input type=file size=20 name=userfile onFocus="document.sell.imgtype[1].checked='true';"/>
&nbsp;
                            <?=$MSG_5408.$SETTINGS['maxuploadsize']." bytes";?>
                            <input type=HIDDEN name="MAX_FILE_SIZE" value="<? print $SETTINGS['maxuploadsize']; ?>" />
                       <BR><BR> </td>
                    </tr>

                    <?
                    if($SETTINGS['picturesgallery'] == 1)
                    {
                    ?>
                    <tr>
                        <td align="right" width="25%" valign="middle" class="leftpan">&nbsp;</td>
                        <td valign="top" class="rightpan">
                            <h3><?
                            print $MSG_663."</h3>";
                            print $MSG_673."&nbsp;6&nbsp;".$MSG_674;
                            if($SETTINGS['picturesgalleryfee'] == 1 )
                            {
                                print $MSG_675."&nbsp;".print_money($SETTINGS['picturesgalleryvalue'])."&nbsp;".$MSG_676;
                            }
                            ?>
                            <br />
                            <br />
                            [<a href="javascript:window_open('upldgallery.php','gallery',400,500,20,20)">
                            <?=$MSG_677?>
                            </a>]<BR><BR> </td>
                    </tr>
                    <?
                    }
                    ?>




<input type=hidden name=atype value=1 >

              <input type=hidden name="iquantity" size="5" value="1" />       

              <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_020;?>
                            </b> </td>
                        <td class="rightpan">
                            <input type=text size=10 name=minimum_bid value="<?=$minimum_bid; ?>" > - Format ( X.XX ) - <? print $MSG_AJAX_ADMIN_SELL_MINIMUM_BID_NOTE; ?> 
                     
                            <? // include "lib/auctionsetup_note.php";?>
                     <BR><BR>   </td>
                    </tr>
                    
                     
                     
                        
                            

              <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_021;?>
                            </b> </td>
                        <td class="rightpan">
                            <input type=radio name="with_reserve" value="no" <?=$TPL_without_reserve_selected; ?> />
                            <?=$MSG_029; ?>
                            <input type=radio name="with_reserve" value="yes" <?=$TPL_with_reserve_selected; ?> />
                            <?=$MSG_030; ?>
                            <input type=text name="reserve_price" size=10 value="<? if($reserve_price) print print_money_nosymbol($reserve_price); ?>" onFocus="document.sell.with_reserve[1].checked='true';" 
                            <?if($buy_now_only == 'y') print " DISABLED";?>/> - Format ( X.XX ) 
                      <BR><BR>      </td>
                    </tr>
                     
                     
                     <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                        <? print $MSG_AJAX_ADMIN_SELL_DOUBLE_BIDDING; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type="radio" name="dbl_bidding" value="1" <? if ( $dbl_bidding == 1 ) echo checked ?> /> <? print $MSG_030; ?> &nbsp;&nbsp; <input type="radio" name="dbl_bidding" value="0" <? if ( $dbl_bidding == 0 ) echo checked ?> /> <? print $MSG_029; ?>  <? print $MSG_AJAX_ADMIN_SELL_DOUBLE_BIDDING_NOTE; ?>
    
                     <BR><BR>   </td>
                    </tr> 
                                              
                               
                               
                               <input type=hidden name="buy_now_only" value="n">
                
                                   <input type=hidden name="buy_now" value="no" >
               
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_613;?>
                            </b> </td>
                        <td class="rightpan">
                             <input type=hidden name="increments" value="2" />
                          
                        <select name=customincrement >
                        <option value=.01 >.01 (Default)</option>  
                        <option value=.02 >.02</option>  
                        <option value=.03 >.03</option>  
                         <option value=.04 >.04</option>
                         <option value=.05 >.05</option>
                          <option value=.06 >.06</option>
                         <option value=.07 >.07</option>
                          <option value=.08 >.08</option>
                          <option value=.09 >.09</option>
                          <option value=.10 >.10</option>
                          <option value=.15 >.15</option>
                          <option value=.20 >.20</option>
                          <option value=.25 >.25</option>
                          <option value=.50 >.50</option>
                          <option value=1 >1.00</option>
                                  <option value=-.01 >-.01</option>  
                        <option value=-.02 >-.02</option>  
                        <option value=-.03 >-.03</option>  
                         <option value=-.04 >-.04</option>
                         <option value=-.05 >-.05</option>
                          <option value=-.06 >-.06</option>
                         <option value=-.07 >-.07</option>
                          <option value=-.08 >-.08</option>
                          <option value=-.09 >-.09</option>
                          <option value=-.10 >-.10</option>
                          <option value=-.15 >-.15</option>
                          <option value=-.20 >-.20</option>
                          <option value=-.25 >-.25</option>
                          <option value=-.50 >-.50</option>
                          <option value=-1 >-1.00</option>
                          <option value=<? print $customincrement; echo " selected"; ?>><? print $customincrement; ?>
                         
                                    </select> - <? $MSG_AJAX_ADMIN_SELL_BID_INCREMENT_NOTE; ?>
            <BR><BR></td>
                    </tr>
                    
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <? print $SELL_PAGE_START_DATE_TIME; ?>
                            </b> </td>
                        <td class="rightpan">
                          <?
                            /* if(!$sessionVars['editstartdate'] && $sessionVars['SELL_action']=='edit'){
                                print $std_font.$TPL_start_date;
                                print "<input type=\"hidden\" name=\"a_starts\" value=\"$TPL_start_date\" />";
                            }else{   */
                          ?>
                            <input class=EDITDATA2 type="text" name="a_starts" id="pubdate_input" value="<?=$TPL_start_date?>" size="20" maxlength="19" />
                            <a href="javascript:pubdate_cal.popup()"><img src="includes/img/calendar.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date" /></a>
                            <script language="JavaScript">
                            pubdate_cal = new xar_base_calendar_start(document.getElementById("pubdate_input"), "."); pubdate_cal.year_scroll = true; pubdate_cal.time_comp = true;
                            </script>
                        <?
                           /* } */
                        ?>
                    <BR><BR>    </td>
</tr>
                   
                                                              <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <? print $SELL_PAGE_END_DATE_TIME; ?>
                            </b> </td>
                        <td class="rightpan">
                          <?
                           /* if(!$sessionVars['editenddate'] && $sessionVars['SELL_action']=='edit'){
                                print $std_font.$TPL_end_date;
                                print "<input type=\"hidden\" name=\"a_ends\" value=\"$TPL_end_date\" />";
                            }else{ */
                          ?>
                            <input class=EDITDATA2 type="text" name="a_ends" id="pubdate_input_1" value="<?=$TPL_end_date?>" size="20" maxlength="19" />
                            <a href="javascript:pubdate_cal1.popup()"><img src="includes/img/calendar.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date" /></a>
                            <script language="JavaScript">
                            pubdate_cal1 = new xar_base_calendar_end(document.getElementById("pubdate_input_1"), "."); pubdate_cal1.year_scroll = true; pubdate_cal1.time_comp = true;
                            </script>
                        <?
                         /*   }  */
                        ?>
                    <BR><BR>    </td>
</tr>
                   
                                     <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG__0148;?>
                            </b> </td>
                        <td class="rightpan">
                            
                            
                                      
                        <select name=relist >
                        <option value=0 >0 Times (Default)</option>
                        <option value=1 >1 Time</option>  
                         <option value=2>2 Times</option>  
                         <option value=3>3 Times</option>
                         <option value=4>4 Times</option>
                          <option value=5>5 Times</option>
                         <option value=6>6 Times</option>
                          <option value=7>7 Times</option>
                          <option value=8>8 Times</option>
                          <option value=9>9 Times</option>
                          <option value=10>10 Times</option>
                          <option value=9999999>Every Time</option>
                          
                         <option value=<? if ( !$relist ) { print "0 selected"; } if ( $relist ) {  print $relist." selected"; } ?>><? if ( !$relist ) { print "0 Times (Default)"; } if ( $relist ) {  print $relist." selected"; } ?>
                       
                       
                       
                                 </select> - <? print $MSG_AJAX_ADMIN_SELL_RELIST_AUCTION_NOTE; ?>
                                 

                        </td>
                    </tr>
                        
                 <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                       On / Off Timer
                            </b> </td>
                        <td class="rightpan">
                        <input type="radio" name="notimer" value="0" <? if ( $notimer == 0 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_ON; ?> &nbsp;&nbsp; <input type="radio" name="notimer" value="1" <? if ( $notimer == 1 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_OFF; ?>  &nbsp;&nbsp;&nbsp;&nbsp;
    <? // =$TPL_payments_list; ?>
                     <BR><BR>   </td>
                    </tr>    
                   
                   
                    
             <input type=hidden name=country value=" ">     
                  
                  
                   <input type="hidden" name="shipping" value="1" >

                  
                  
                   
                 
                            <input class=EDITDATA2 type="hidden" size="8" name="location_zip" value="11111">
                 

               
                    
                    
                    
                    
                    
                    
                    
                    
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_25_0215;?>
                            </b></td>
                        <td>
                            <input type=text name="shipping_terms" value="<?=$TPL_shipping_terms; ?>" class=EDITDATA2 > 
                    <BR><BR>    </td>
                    </tr>

                                                  <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <? print $MSG_AJAX_ADMIN_SELL_SHIPPING_FEE; ?>
                            </b></td>
                        <td>
                            <input type=text name="shipping_fee" value="<?=$shipping_fee; ?>" class=EDITDATA2 > - Format ( X.XX ) 
                    <BR><BR>    </td>
                    </tr>
                               
                                            <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                          <? print $MSG_AJAX_ADMIN_SELL_RETURN_POLICY; ?>
                            </b></td>
                        <td>
                            <input type=text name="return_policy" value="<?=$return_policy; ?>" class=EDITDATA2 > 
                    <BR><BR>    </td>
                    </tr>       
                               
                               
                               
                               
                               
                               
                               
                                <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                          <? print $MSG_AJAX_ADMIN_SELL_RETAIL_VALUE; ?>
                            </b></td>
                        <td>
                            <input type=text name="retail" value="<?=$retail; ?>" class=EDITDATA2 > - Format ( X.XX ) 
                    <BR><BR>    </td>
                    </tr>        
                    
                    
                    
                    
                    
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                            <?=$MSG_026;?>
                            </b> </td>
                        <td class="rightpan">
                        <input type=text name="payment" value="<?=$payment; ?>" class=EDITDATA2 >
                            <? // =$TPL_payments_list; ?>
                     <BR><BR>   </td>
                    </tr>
                    
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                           <? print $MSG_AJAX_ADMIN_SELL_WINNING_BIDDER_BIDS; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type=text name="bids_purchased" value="<?=$bids_purchased; ?>" class=EDITDATA2 > <? print $MSG_AJAX_ADMIN_SELL_WINNING_BIDDER_BIDS_NOTE; ?>
                            <? // =$TPL_payments_list; ?>
                     <BR><BR>   </td>
                    </tr>
                    
                                      <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                       <? print $MSG_AJAX_ADMIN_SELL_ON_OFF_AUTOBIDDER; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type="radio" name="allow_autobidder" value="1" <? if ( $allow_autobidder == 1 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_ON; ?> &nbsp;&nbsp; <input type="radio" name="allow_autobidder" value="0" <? if ( $allow_autobidder == 0 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_OFF; ?>  &nbsp;&nbsp;&nbsp;&nbsp;
    <? // =$TPL_payments_list; ?>
                     <BR><BR>   </td>
                    </tr>
                    
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                        <? print $MSG_AJAX_ADMIN_SELL_ON_OFF_BUYNOW; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type="radio" name="buy_now_switch" value="1" <? if ( $buy_now_switch == 1.00 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_ON; ?> &nbsp;&nbsp; <input type="radio" name="buy_now_switch" value="0" <? if ( $buy_now_switch == 0.00 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_OFF; ?>  &nbsp;&nbsp;&nbsp;&nbsp;
    <? // =$TPL_payments_list; ?>  <? // echo $buy_now_switch; ?>
                     <BR><BR>   </td>
                    </tr>
                    
                                      <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                        <? print $MSG_AJAX_ADMIN_SELL_ON_OFF_BEGINNER; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type="radio" name="auction_type2" value="beginner" <? if ( $auction_type2 == 'beginner' ) echo checked ?> /> <? print $MSG_030; ?> &nbsp;&nbsp; <input type="radio" name="auction_type2" value="none" <? if ( $auction_type2 != 'beginner' ) echo checked ?> /> <? print $MSG_029; ?> - <? print $MSG_AJAX_ADMIN_SELL_ON_OFF_BEGINNER_NOTE; ?>
    <? // =$TPL_payments_list; ?> <? print $auction_type2; ?>
                     <BR><BR>   </td>
                    </tr>
                    
                     <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                        <? print $MSG_AJAX_ADMIN_SELL_ON_OFF_ELITE; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type="radio" name="auction_type3" value="elite" <? if ( $auction_type2 == 'elite' ) echo checked ?> /> <? print $MSG_030; ?> &nbsp;&nbsp; <input type="radio" name="auction_type3" value="none" <? if ( $auction_type2 != "elite" ) echo checked ?> /> <? print $MSG_029; ?>   - <? print $MSG_AJAX_ADMIN_SELL_ON_OFF_ELITE_NOTE; ?>
    <? // =$TPL_payments_list; ?>
                     <BR><BR>   </td>
                    </tr>
                    
                    
                           <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                          <? print $MSG_AJAX_ADMIN_SELL_PROMOTION; ?>
                            </b> </td>
                        <td class="rightpan">
                       
                       
                        <select name=promotion >
                        <option value=beginner_auction.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_BEGINNER_AUCTION; ?></option>
                        <option value=bid_pack_auction.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_BID_PACK_AUCTION; ?></option>  
                         <option value=free_bidding.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_FREE_BIDDING; ?></option>  
                         <option value=free_shipping.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_FREE_SHIPPING; ?></option>
                         <option value=nailbiter_auction.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_NAILBITER_AUCTION; ?></option>
                          <option value=penny_auction.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_PENNY_AUCTION; ?></option>
                         <option value=premium_auction.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_PREMIUM_AUCTION; ?></option>
                          <option value=reserve_auction.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_RESERVE_AUCTION; ?></option>
                          <option value=buynow.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_BUY_NOW; ?></option>
                           <option value=elite.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_ELITE; ?></option>
                            <option value=reverse_auction.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_REVERSE; ?></option>
                             <option value=seat_auction.gif ><? print $MSG_AJAX_ADMIN_SELL_PROMOTION_SEAT; ?></option>
                                                                                               
                         <option value=<? if ( !$promotion ) { print "promo_invisible.gif selected"; } if ( $promotion ) {  print $promotion." selected"; } ?>><? if ( !$promotion ) { print $MSG_AJAX_ADMIN_SELL_PROMOTION_BADGE; } if ( $promotion ) {  print $promotion." selected"; } ?>
       
                                 </select>
                                
            <BR><BR></td>
                    </tr>
                    
                    
                            
                    
                           <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                          <? print $MSG_AJAX_ADMIN_SELL_BID_CREDITS_REQUIRED; ?>
                            </b> </td>
                        <td class="rightpan">
                       
                       
                        <select name=bid_credits_reqd >
                        <option value=0 >0</option>
                        <option value=1 >1 (Default)</option>  
                         <option value=2>2</option>  
                         <option value=3>3</option>
                         <option value=4>4</option>
                          <option value=5>5</option>
                         <option value=6>6</option>
                          <option value=7>7</option>
                          <option value=8>8</option>
                          <option value=9>9</option>
                          <option value=10>10</option>
                          
                         <option value=<? if ( !$bid_credits_reqd ) { print "1 selected"; } if ( $bid_credits_reqd ) {  print $bid_credits_reqd." selected"; } ?>><? if ( !$bid_credits_reqd ) { print "1 (Default)"; } if ( $bid_credits_reqd ) {  print $bid_credits_reqd." selected"; } ?>
                       
                       
                       
                                 </select>
                                <? print $MSG_AJAX_ADMIN_SELL_BID_CREDITS_REQUIRED_NOTE; ?>
            <BR><BR></td>
                    </tr>
                    
                                     <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                          <? print $MSG_AJAX_ADMIN_SELL_TIME_AUTOEXTENSION_ACTIVATION; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type=text name="ae_activation" value="<?=$ae_activation; ?>" class=EDITDATA2 > <? print $MSG_AJAX_ADMIN_SELL_TIME_AUTOEXTENSION_ACTIVATION_NOTE; ?>
                            <? // =$TPL_payments_list; ?>
                     <BR><BR>   </td>
                    </tr>
                    
                                                        <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                          <? print $MSG_AJAX_ADMIN_SELL_TIME_AUTOEXTENSION_ADDED; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type=text name="ae_increment" value="<?=$ae_increment; ?>" class=EDITDATA2 > <? print $MSG_AJAX_ADMIN_SELL_TIME_AUTOEXTENSION_ADDED_NOTE; ?>
                            <? // =$TPL_payments_list; ?>
                     <BR><BR>   </td>
                    </tr>                   
                    
                                        
                                                        <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                          <? print $MSG_AJAX_ADMIN_SELL_TIME_AUTOEXTENSION_RESET; ?>
                            </b> </td>
                        <td class="rightpan">
                         <input type="radio" name="hard_reset" value="0" <? if ( $hard_reset == 0 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_TIME_AUTOEXTENSION_RESET_TIME_ADDED; ?> &nbsp;&nbsp; <input type="radio" name="hard_reset" value="1" <? if ( $hard_reset == 1 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_TIME_AUTOEXTENSION_RESET_HARD_RESET; ?>  &nbsp;&nbsp;&nbsp;&nbsp; <? print $MSG_AJAX_ADMIN_SELL_TIME_AUTOEXTENSION_RESET_NOTE; ?>
                         
                     <BR><BR>   </td>
                    </tr>                   
 
            <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                       <? print $MSG_AJAX_ADMIN_SELL_ON_OFF_LOCKOUT; ?>
                            </b> </td>
                        <td class="rightpan">
                        <input type="radio" name="lockout" value="1" <? if ( $lockout == 1 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_ON; ?> &nbsp;&nbsp; <input type="radio" name="lockout" value="0" <? if ( $lockout == 0 ) echo checked ?> /> <? print $MSG_AJAX_ADMIN_SELL_OFF; ?>  - <? print $MSG_AJAX_ADMIN_SELL_ON_OFF_LOCKOUT_NOTE; ?>
    <? // =$TPL_payments_list; ?>
                        <BR><BR>   </td>
                    </tr>
                    <tr>
                        <td align="right" width="25%" valign="top" class="leftpan"><b>
                       <? print $MSG_AJAX_ADMIN_SELL_SEAT; ?>
                            </b> </td>
                        <td class="rightpan">
                                            <select name=seats >
                        <option value=0 >Unlimited Seats (Default)</option>
                        <option value=5 >5 Seats</option>  
                         <option value=10>10 Seats</option>  
                         <option value=15>15 Seats</option>
                         <option value=20>20 Seats</option>
                          <option value=25>25 Seats</option>
                         <option value=30>30 Seats</option>
                          <option value=35>35 Seats</option>
                          <option value=40>40 Seats</option>
                          <option value=45>45 Seats</option>
                          <option value=50>50 Seats</option>
                          
                          
                         <option value=<? if ( !$seats ) { print "0 selected"; } if ( $seats ) {  print $seats." selected"; } ?>><? if ( !$seats ) { print "Unlimited Seats (Default)"; } if ( $seats ) {  print $seats." selected"; } ?>
                             </select>
                         
                         - <? print $MSG_AJAX_ADMIN_SELL_SEAT_NOTE; ?>
                   <BR><BR>   </td>
                    </tr> 
                    
                      <input type="hidden" name=suggested_category value="<?php echo htmlentities($suggested_category); ?>" />
                  
                  
                  
                      
                </table>
                       <BR><BR> 
                    <input type=submit NAME="act" value="<?=$MSG_5189?>"  class=button />&nbsp;&nbsp;&nbsp;<input type=reset NAME="act" value="<?=$MSG_5190?>" class=button \>
                         
            </form>
               
                
    </FIELDSET>
    </td>
    </tr>
    </table>
              
              <? // include "themes/default/ttemplate_auction_types_php.html"; ?>
              
              
    
    </BODY>
    </HTML>